home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 3
/
Info_Mac_1994-01.iso
/
Applications
/
Pica Calculator 2
/
PC2 Folder
/
PC2 Sample Pgms
/
PC2 Sample Pgms.rsrc
/
pPGM_16889_Combinations
< prev
next >
Wrap
Text File
|
1993-07-16
|
231b
|
41 lines
!TI-57 Example
!by Jim Lewis
!
◊Factorial
s0
»Loop
r0
*
º0
GLoop
#1
=
^
!
!Main Program
?Total possible elements?
s5
ƒFactorial
s1
~
?Number of picks?
s6
ƒFactorial
s2
r5
-
r6
=
ƒFactorial
s3
r1
/
(
r3
*
r2
)
=
“
@Odds are 1 in: